Skip to content

Conversation

@elena-kolevska
Copy link
Contributor

@elena-kolevska elena-kolevska commented Nov 4, 2024

Description

As agreed in the original bidirectional streaming PR, I'm making the sync and async Subscription objects iterable.

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Elena Kolevska <[email protected]>
Signed-off-by: Elena Kolevska <[email protected]>
@elena-kolevska elena-kolevska requested review from a team as code owners November 4, 2024 00:39
@codecov
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

Attention: Patch coverage is 65.21739% with 8 lines in your changes missing coverage. Please review.

Project coverage is 86.03%. Comparing base (bffb749) to head (6c85263).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
dapr/aio/clients/grpc/client.py 0.00% 6 Missing ⚠️
dapr/aio/clients/grpc/subscription.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #751      +/-   ##
==========================================
- Coverage   86.63%   86.03%   -0.60%     
==========================================
  Files          84       87       +3     
  Lines        4473     4783     +310     
==========================================
+ Hits         3875     4115     +240     
- Misses        598      668      +70     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@elena-kolevska
Copy link
Contributor Author

Should close #730

@berndverst berndverst merged commit afd13ab into dapr:main Nov 11, 2024
13 of 15 checks passed
@elena-kolevska elena-kolevska added this to the v1.15 milestone Jan 28, 2025
@elena-kolevska elena-kolevska deleted the bidistreaming-iterator branch February 17, 2025 17:46
elena-kolevska added a commit to elena-kolevska/python-sdk that referenced this pull request Mar 6, 2025
* Make Streaming Subscription iterable

Signed-off-by: Elena Kolevska <[email protected]>

* Adds iter for async client

Signed-off-by: Elena Kolevska <[email protected]>

* linter and updates docs

Signed-off-by: Elena Kolevska <[email protected]>

---------

Signed-off-by: Elena Kolevska <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants